package lng.site.balafon.model;

import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColumns;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Transient;
import javax.persistence.Embeddable;

/**
 * <p>Pojo mapping TABLE membre_permission</p>
 * <p></p>
 *
 * <p>Generated at Thu Aug 02 21:53:17 CEST 2012</p>
 * @author Salto-db Generator v1.0.16 / EJB3
 * 
 */
@Entity
@Table(name = "membre_permission", catalog = "balafon2")
@SuppressWarnings("serial")
public class MembrePermission implements Serializable {

	/**
	 * Attribute idPermission.
	 */
	private Integer idPermission;
	
	/**
	 * Attribute idMembre.
	 */
	private Integer idMembre;
	
	/**
	 * Attribute idMembrePermission.
	 */
	private Integer idMembrePermission;
	
	
	/**
	 * <p> 
	 * </p>
	 * @return idPermission
	 */
	@Basic
	@Id
	@Column(name = "id_permission")
		public Integer getIdPermission() {
		return idPermission;
	}

	/**
	 * @param idPermission new value for idPermission 
	 */
	public void setIdPermission(Integer idPermission) {
		this.idPermission = idPermission;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return idMembre
	 */
	@Basic
	@Column(name = "id_membre")
		public Integer getIdMembre() {
		return idMembre;
	}

	/**
	 * @param idMembre new value for idMembre 
	 */
	public void setIdMembre(Integer idMembre) {
		this.idMembre = idMembre;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return idMembrePermission
	 */
	@Basic
	@Column(name = "id_membre_permission")
		public Integer getIdMembrePermission() {
		return idMembrePermission;
	}

	/**
	 * @param idMembrePermission new value for idMembrePermission 
	 */
	public void setIdMembrePermission(Integer idMembrePermission) {
		this.idMembrePermission = idMembrePermission;
	}
	


}